import React from 'react'
import PropTypes from 'prop-types';
import { Icon } from 'antd-mobile'
import CommonHeader from 'COMPONENT/CommonHeader';
import LoanResultPage from 'COMPONENT/LoanResultPage';
import './index.less'
// ========================================
class LoansResult extends React.Component {
	static contextTypes = {
        router: PropTypes.object.isRequired
    }
	leftAction = () => {
		this.context.router.push({
			pathname: '/Home'
		})
	}
	
	
    render() {
        return (
            <div style={{
            	height:'13.35rem',
            	background:'#e1e1e1',
            	overflowY:'hidden'
            }}>
            	<CommonHeader 
					name= "房贷申请"					
					leftContentTitle="@back"
					leftContent="返回"
					leftAction={this.leftAction.bind(this)}
					rightContentTitle="@index"
					rightAction={this.leftAction.bind(this)}
				/>
	    		<div style={{height:'.9rem'}}></div>
            	
            	<LoanResultPage 
	            	icon = "check-circle-o"
	            	title = "提交成功"
	            	content = "房屋抵押贷款已提交。"
            	/>
            </div>
            
            

        );
    }
}
// ========================================
export default LoansResult;